package com.example.demo.utils;

public class CarStoreCount {
    private String storeID; // 门店ID
    private String carModelID; // 车型ID
    private int count; // 车辆数量

    public CarStoreCount() {
        // 默认构造函数
    }

    public CarStoreCount(String storeID, String carModelID, int count) {
        this.storeID = storeID;
        this.carModelID = carModelID;
        this.count = count;
    }

    public String getStoreID() {
        return storeID;
    }

    public void setStoreID(String storeID) {
        this.storeID = storeID;
    }

    public String getCarModelID() {
        return carModelID;
    }

    public void setCarModelID(String carModelID) {
        this.carModelID = carModelID;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    // 为了方便打印或查看对象信息，可以重写toString方法
    @Override
    public String toString() {
        return "CarStoreCount{" +
                "storeID='" + storeID + '\'' +
                ", carModelID='" + carModelID + '\'' +
                ", count=" + count +
                '}';
    }
}
